package com.ship.dispatch.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SpBoatsActualCompatibleBo {
    /**
     * 船名
     */
    @ApiModelProperty(value = "船名")
    private String shipName;

    /**
     * imo
     */
    @ApiModelProperty(value = "imo")
    private String imo;

    /**
     * 航次号
     */
    @ApiModelProperty(value = "航次号")
    private String voyageNo;

    /**
     * 装载港
     */
    @ApiModelProperty(value = "装载港")
    private String expectedLoadingPort;

    /**
     * 卸载港
     */
    @ApiModelProperty(value = "卸载港")
    private String expectedUnloadingPort;

    /**
     * 预计装载时间
     */
    @ApiModelProperty(value = "预计装载时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date expectedLoadingDate;

    /**
     * 船岸兼容时间(船岸兼容节点完成时间)
     */
    @ApiModelProperty(value = "船岸兼容时间(船岸兼容节点完成时间)")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date shipCompatibleDate;

    /**
     * 船运执行表id
     */
    @ApiModelProperty(value = "船运执行表id")
    private Long dispatchSchemeExecuteId;

    @ApiModelProperty(value = "船岸是否兼容")
    private String isShipShoreCompatibility;

    @ApiModelProperty(value = "兼容记录id")
    private Long serviceId;

    @ApiModelProperty(value = "港口节点：1-装载港，2-卸载港")
    private String portType;
}
